import { ref, computed } from "vue";
import { defineStore } from "pinia";

export const useSelectStore = defineStore(
  "select",
  () => {
    const select = ref("");
    const setSelect = (val) => {
      select.value = val;
      console.log(select.value);
    };

    return { select, setSelect };
  },
  {
    persist: true,
  }
);
